#ifndef CITY_SUMMARY_DIALOG_HPP_INCLUDED
#define CITY_SUMMARY_DIALOG_HPP_INCLUDED

#include "city_fwd.hpp"
#include "dialog.hpp"
#include "widget.hpp"

class map_display;
class world;

namespace game_dialogs {

class city_summary_dialog : public gui::dialog {
public:
	city_summary_dialog(map_display& m, world& w, city_ptr c);
	void init();
	void recruit_unit_menu();
	void build_menu();
	bool handle_event(const SDL_Event& event, bool claimed);
private:
	void on_recruit(int index);
	void on_build(int index);
	map_display& display_;
	world& world_;
	city_ptr city_;
	gui::widget_ptr context_menu_;
};
}

#endif
